package edu.spec.dengyan.week08.class01.classroom;

public class Ellipse extends  Circle implements IDraw{
    public void draw(){
        System.out.println("draw a ellipse.");
    }

    public static void main(String[] args) {
        IDraw s=new Shape();
        IDraw c=new Circle();
        IDraw e=new Ellipse();
        s.draw();
        c.draw();
        e.draw();
    }
}
